Dispatches an indirect compute operation in a compute pipeline. More...
#include <kanzi/gfx/commands.hpp>
Public Member Functions | |
| DispatchIndirectCommand () | |
| Constructor. | |
Public Member Functions inherited from kanzi::gfx::BaseCommand | |
| uint32_t | getSize () const |
| Gets the command size in bytes. | |
| uint8_t | getTag () const |
| Gets the command tag. | |
| CommandType | getType () const |
| Gets the command type. | |
| void | setTag (uint8_t tag) |
| Sets the command tag. | |
Public Attributes | |
| BufferHandleGuard | buffer |
| Parameter buffer. | |
| uint32_t | offset |
| The parameter buffer offset in bytes. | |
Additional Inherited Members | |
Protected Member Functions inherited from kanzi::gfx::BaseCommand | |
| BaseCommand (CommandType t, uint32_t s) | |
| Constructor. | |
| BaseCommand (const BaseCommand &other) | |
| Copy Constructor. | |
| BaseCommand & | operator= (const BaseCommand &other) |
| Assignment operator. | |
Dispatches an indirect compute operation in a compute pipeline.
Parameter buffer is expected to contain DispatchIndirectData structure starting from offset in bytes. Requires FeatureId::Compute.
|
inline |
Constructor.
| BufferHandleGuard kanzi::gfx::DispatchIndirectCommand::buffer |
Parameter buffer.
| uint32_t kanzi::gfx::DispatchIndirectCommand::offset |
The parameter buffer offset in bytes.